package com.xinpark.shared.service;

import java.util.List;

import com.xinpark.shared.ServiceException;
import com.xinpark.shared.service.model.ItemModel;
import com.xinpark.shared.service.param.QueryItemCountParam;
import com.xinpark.shared.service.param.QueryItemListParam;
import com.xinpark.shared.service.param.QueryItemParam;
 
public interface ItemService{
    public Integer getItemCount(QueryItemCountParam param) throws ServiceException;
    
    public void addItem(ItemModel itemModel) throws ServiceException;

    public ItemModel getItem(QueryItemParam param) throws ServiceException;

    public List<ItemModel> getItemList(QueryItemListParam param) throws ServiceException;

    public void updateItem(ItemModel itemModel) throws ServiceException;
    
    public void updateItems(ItemModel[] itemModelList) throws ServiceException;
}